package com.glc.hms.system.service;

import com.glc.hms.system.entity.SysUserToken;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Map;

/**
 * <p>
 * 系统用户Token 服务类
 * </p>
 *
 * @author Santa
 * @since 2019-11-14
 */
public interface ISysUserTokenService extends IService<SysUserToken> {

    Map<String,Object> creatToken(Long userId);

    SysUserToken queryByToken(String token);
	
}
